package com.rs.model;

import java.io.Serializable;
import java.util.Date;

public class ZhOvertime implements Serializable {
    private Integer ovId;

    private Integer ovUid;

    private Date ovKtime;

    private Date ovJtime;

    private Double ovLength;

    private String ovReason;

    private Integer ovAuid;

    private Integer ovAudit;

    private static final long serialVersionUID = 1L;
    
    private String ovAuname;
    
    private String ovUname;

    private Integer pageNum;
    
    @Override
	public String toString() {
		return "ZhOvertime [ovId=" + ovId + ", ovUid=" + ovUid + ", ovKtime=" + ovKtime + ", ovJtime=" + ovJtime
				+ ", ovLength=" + ovLength + ", ovReason=" + ovReason + ", ovAuid=" + ovAuid + ", ovAudit=" + ovAudit
				+ ", ovAuname=" + ovAuname + ", ovUname=" + ovUname + ", pageNum=" + pageNum + "]";
	}

	public String getOvAuname() {
		return ovAuname;
	}

	public void setOvAuname(String ovAuname) {
		this.ovAuname = ovAuname;
	}

	public String getOvUname() {
		return ovUname;
	}

	public void setOvUname(String ovUname) {
		this.ovUname = ovUname;
	}

	public Integer getPageNum() {
		return pageNum;
	}

	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}

	public Integer getOvId() {
        return ovId;
    }

    public void setOvId(Integer ovId) {
        this.ovId = ovId;
    }

    public Integer getOvUid() {
        return ovUid;
    }

    public void setOvUid(Integer ovUid) {
        this.ovUid = ovUid;
    }

    public Date getOvKtime() {
        return ovKtime;
    }

    public void setOvKtime(Date ovKtime) {
        this.ovKtime = ovKtime;
    }

    public Date getOvJtime() {
        return ovJtime;
    }

    public void setOvJtime(Date ovJtime) {
        this.ovJtime = ovJtime;
    }

    public Double getOvLength() {
        return ovLength;
    }

    public void setOvLength(Double ovLength) {
        this.ovLength = ovLength;
    }

    public String getOvReason() {
        return ovReason;
    }

    public void setOvReason(String ovReason) {
        this.ovReason = ovReason == null ? null : ovReason.trim();
    }

    public Integer getOvAuid() {
        return ovAuid;
    }

    public void setOvAuid(Integer ovAuid) {
        this.ovAuid = ovAuid;
    }

    public Integer getOvAudit() {
        return ovAudit;
    }

    public void setOvAudit(Integer ovAudit) {
        this.ovAudit = ovAudit;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        ZhOvertime other = (ZhOvertime) that;
        return (this.getOvId() == null ? other.getOvId() == null : this.getOvId().equals(other.getOvId()))
            && (this.getOvUid() == null ? other.getOvUid() == null : this.getOvUid().equals(other.getOvUid()))
            && (this.getOvKtime() == null ? other.getOvKtime() == null : this.getOvKtime().equals(other.getOvKtime()))
            && (this.getOvJtime() == null ? other.getOvJtime() == null : this.getOvJtime().equals(other.getOvJtime()))
            && (this.getOvLength() == null ? other.getOvLength() == null : this.getOvLength().equals(other.getOvLength()))
            && (this.getOvReason() == null ? other.getOvReason() == null : this.getOvReason().equals(other.getOvReason()))
            && (this.getOvAuid() == null ? other.getOvAuid() == null : this.getOvAuid().equals(other.getOvAuid()))
            && (this.getOvAudit() == null ? other.getOvAudit() == null : this.getOvAudit().equals(other.getOvAudit()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getOvId() == null) ? 0 : getOvId().hashCode());
        result = prime * result + ((getOvUid() == null) ? 0 : getOvUid().hashCode());
        result = prime * result + ((getOvKtime() == null) ? 0 : getOvKtime().hashCode());
        result = prime * result + ((getOvJtime() == null) ? 0 : getOvJtime().hashCode());
        result = prime * result + ((getOvLength() == null) ? 0 : getOvLength().hashCode());
        result = prime * result + ((getOvReason() == null) ? 0 : getOvReason().hashCode());
        result = prime * result + ((getOvAuid() == null) ? 0 : getOvAuid().hashCode());
        result = prime * result + ((getOvAudit() == null) ? 0 : getOvAudit().hashCode());
        return result;
    }
}